package com.heiliushu.baseWeb.domain.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

public class User implements Serializable {
	
	@TableField(exist=false)
	private static final long serialVersionUID = 1399425259763995105L;
	@TableId(value="user_id")
	private Integer userId;
	@TableField(value="login_name")
	private String loginName;
	private String password;
	private String name;
	private String email;
	private String status;
	@TableField(value="create_time")
	private String createTime;
	@TableField(value="last_update_time")
	private String lastUpdateTime;
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	
	public enum UserStatus{
		NORMAL("Y"),DISABLE("N");
		
		private String status;
		
		private UserStatus(String status){
			this.status = status;
		}
		
		public String getStatus() {
			return status;
		}
	}
	
}
